Skip to main content

colorWorld

Type

property

Summary

Reports whether the screen is set to use color.

Syntax

get the colorWorld

Description

Use the colorWorld property to determine whether the screen is color or black-and-white.

If the colorWorld property reports true, the screen is using color or grayscale. If the colorWorld is false, the screen is black-and-white.

If the system has more than one monitor, the colorWorld property reports the color status of the main screen.

The value returned by the colorWorld function is updated only when you start up the application. If you change the screen settings after starting up the application, you must quit and restart to update the colorWorld.

Examples

if the colorWorld then showColorIcons

function: screenDepth, screenColors

glossary: property, application, black-and-white, read-only

property: bufferMode, colorMap

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?